import 'package:lib_common/lib_common.dart';

class AppConstants {
  AppConstants._();

  /// 全局运行模式
  static LaunchMode _launchMode = LaunchMode.none;

  static set launchMode(LaunchMode launchMode) {
    if (_launchMode == LaunchMode.none) {
      _launchMode = launchMode;
    }
  }

  static LaunchMode get launchMode => _launchMode;

  /// Log Tag
  static const String logTag = "CloudGame";

  /// 应用名称
  static const String appName = "3A云游";

  /// 微信AppId
  static const String weChatAppId = "wx6c9838146fd2cc29";

  /// 微信universalLink
  static const String appUniversalLink = "https://play.3ayx.net/";

  /// QQ AppId
  static const String qqAppId = "1112341434";

  /// 设计图尺寸
  static const double designWidth = 667.0;
  static const double designHeight = 375.0;

  /// 当前上线应用平台渠道
  static const List<String> onlineAppPlatform = ["huawei", "rongyao", "tencent", "xiaomi", "oppo", "vivo", "meizu"];

  static const List<String> extendPlatform = ["kuaishou", "douyin", "baidu"];

  static const String offlineChannel = "offline";

  /// 全局配置是否隐藏手游，默认隐藏
  static bool hidePhoneGame = true;
}